package com.gxnzd.communityelderly.service;

import com.gxnzd.communityelderly.commom.R;
import com.gxnzd.communityelderly.entity.Criticize;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 23234
* @description 针对表【criticize】的数据库操作Service
* @createDate 2024-11-15 23:39:54
*/
public interface CriticizeService extends IService<Criticize> {

    R addCriticize(Criticize criticize);

    R getCriticizeList(
            Integer page,
            Integer pageSize,
            String criticizeContent,
            Integer userId
    );

    R deleteCriticizeInfo(Long criticizeId);

    R getPostCriticizeList(Integer postId,Integer userId);
}
